home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
turbovis
/
tvtool17.zip
/
GENCOLL.H
< prev
next >
Wrap
Text File
|
1993-01-14
|
890b
|
27 lines
/* Copyright (C) 1993 Marc Stern (internet: stern@mble.philips.be) */
#if defined(Uses_TGenCollection) && !defined(__TGenCollection )
#define __TGenCollection
class TGenCollection : public TStringCollection
{
public:
TGenCollection( ccIndex = 0, ccIndex = 0 );
virtual char *getData( ccIndex index ) { return getText(index); }
virtual char *getText( ccIndex );
virtual ccIndex indexOf( char *item );
virtual ccIndex indexOfText( char *item );
virtual void *firstThat( ccTestFunc Test, void *arg );
virtual void *firstTextThat( ccTestFunc Test, void *arg );
virtual int getCount();
virtual int getTextLength();
virtual int compare( void *, void * );
private:
virtual void *readItem( ipstream& ) { return 0; }
virtual void writeItem( void *, opstream& ) {}
};
#endif